﻿namespace Loong.Configuration
{
    public static class SqlServerConfigurationExtensions
    {
        public static DbConfigurationOptionsBuilder UseSqlServer(this DbConfigurationOptionsBuilder builder, string connectionString)
        {
            builder.Options.ConfigurationProvider = new SqlServerConfigurationProvider(connectionString);

            return builder;
        }
    }
}
